package com.mk.service;

import com.mk.base.service.IBaseService;
import com.mk.model.entity.RoleDirD;

import java.util.List;

/**
 * @Author: yq
 * @Description:
 * @Date: Created in 3:24 PM 3/21/18
 */
public interface IRoleDirDService extends IBaseService<RoleDirD> {

    RoleDirD save(Long roleId,Long dDir);

    boolean deleteByDir(Long dirId);

    boolean changeRoleDDir(Long roleId, List<Long> dDirs);

    List<Long> findByRoleId(Long roleId);

    RoleDirD findByDir(Long roleId,Long dDir);
}
